Pop
data class Pop(val to: <Error class: unknown class>? = null, val animated: Boolean = true, val completion: () -> Unit? = null) : NavigationSpec
Pops the viewController on the parents UINavigationController.
Parameters
to
Optional UIViewController to pop to. If not provided the viewcontroller on top is popped.
animated
Specifies whether transition should be animated
completion
Optional function to call when pop has completed